<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <%--静态包含BASE标签CSS样式 JS文件--%>
    <%@ include file="/page/common/head.jsp"%>
</head>
<body>

<%--静态包含manager模块的菜单--%>
<div>
    <%@ include file="/page/common/manager_menu.jsp"%>
</div>
<div>
    <h1>图书管理系统</h1>
    <table>
    <tr>
        <td>名称</td>
        <td>价格</td>
        <td>作者</td>
        <td>销量</td>
        <td>库存</td>
        <td>操作</td>
    </tr>
        <c:forEach items="${requestScope.books}" var="book">
            <tr>
                <td>${book.name}</td>
                <td>${book.price}</td>
                <td>${book.author}</td>
                <td>${book.sales}</td>
                <td>${book.stock}</td>
                <td><a href=""  style="color: #1E9FFF">修改</a>
                    <a href=""  style="color: #1E9FFF">删除</a></td>
            </tr>
        </c:forEach>

    <tr>
        <td><a href=""  style="color: #1E9FFF">添加图书</a></td>
    </tr>
    </table>
</div>

</body>
</html>